package com.atguigu.gulimali.product.feigh;

import com.atguigu.common.utils.R;
import com.atguigu.gulimali.product.vo.SkuHasStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimali-ware")
public interface WareFeignService {

    @PostMapping("ware/waresku/hasstock")
     R getSkusHasStock(@RequestBody List<Long> skuIds);

}
